package com.itheima.service.db;

import com.itheima.domain.SmsFlashPromotionSession;
import com.itheima.util.R;

import java.util.List;
import java.util.Map;

public interface SmsFlashPromotionSessionService {
    List<SmsFlashPromotionSession> findList();

    void updateStatus(Integer id, Integer status);

    R create(SmsFlashPromotionSession smsFlashPromotionSession);

    R delete(Integer id);

    Integer update(SmsFlashPromotionSession smsFlashPromotionSession);

    SmsFlashPromotionSession findById(Integer id);

    List<Map<String, Object>> selectList(Integer flashPromotionId);

}
